import { NgModule }             from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { WorldComponent }    from './world.component';

const helloRoutes: Routes = [
  { path: 'world',  component: WorldComponent }
];

@NgModule({
  imports: [
    RouterModule.forChild(helloRoutes)
  ],
  exports: [
    RouterModule
  ]
})
export class WorldRoutingModule { }
